public class Process {
    private String name;//进程名
    private int priority;//进程优先级
    private int workTime;//进程运行时间
    private String state;//进程状态
    private String pointer;//进程指针
    private int num;
    private double arriveTime;

    @Override
    public String toString() {
        return "进程{" +
                "进程名='" + name + '\'' +
                ", 优先级=" + priority +
                ", 运行时间=" + workTime +
                ", 进程状态='" + state + '\'' +
                ", 指针='" + pointer + '\'' +
                '}';
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public int getWorkTime() {
        return workTime;
    }

    public void setWorkTime(int workTime) {
        this.workTime = workTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getPointer() {
        return pointer;
    }


    public void setPointer(String pointer) {
        this.pointer = pointer;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public double getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(double arriveTime) {
        this.arriveTime = arriveTime;
    }


}